Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

queue-system

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

queue-system

Powerful yet simple JavaScript/TypeScript tasks queuing system.

  • 4.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
847
decreased by-17.77%
Maintainers
1
Weekly downloads
 
Created
Source

queue-system

Powerful yet simple JavaScript/TypeScript tasks queuing system.

Features

  • 🛠️ full TypeScript support
  • 1️⃣ run tasks one by one or many of them at the same time with defined concurrency
  • 🏎️ change concurrency as you need, pause and unpause the queue
  • ➕ insert task at any position in the queue, put important tasks first or...
  • 💪 ...force start additional task
  • 🛑 cancel tasks, even running ones
  • 👀 events support to monitor your queue
  • 👶 simple API
  • ✔️ fully unit tested

Documentation

See here: https://dzek69.github.io/queue-system

To be done / roadmap

Soon

  • option to cancel ongoing tasks on destroy
  • task itself should have queue position event to listen on

Later

  • add "is finished" method to task (successfully resolved)
  • distinguish tasks status between "is requested to cancel" and "is cancelled" (not doing anything anymore)

Even later

  • (internal) code cleanup?

Far future

  • retries support? move to end of the queue before retry? do nothing until retry timeout passes?

License

MIT

FAQs

Package last updated on 13 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc